package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 照片表对象 work_photo
 * 
 * @author ruoyi
 * @date 2020-04-20
 */
public class WorkPhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 照片路劲 */
    @Excel(name = "照片路劲")
    private String photoUrl;

    /** 照片名 */
    @Excel(name = "照片名")
    private String photoName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPhotoUrl(String photoUrl) 
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl() 
    {
        return photoUrl;
    }
    public void setPhotoName(String photoName) 
    {
        this.photoName = photoName;
    }

    public String getPhotoName() 
    {
        return photoName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("photoUrl", getPhotoUrl())
            .append("photoName", getPhotoName())
            .toString();
    }
}
